home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 January / EnigmA AMIGA RUN 33 (1999)(G.R. Edizioni)(IT)[!][issue 1999-01].iso / earcd / faq / computer-lang / pli-faq.z / pli-faq
Internet Message Format  |  1999-01-01  |  15KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news.kodak.com!news-nysernet-16.sprintlink.net!206.229.87.26!news-east.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.internetmci.com!139.130.250.2!intgwpad.nntp.telstra.net!nsw.nntp.telstra.net!news.syd.connect.com.au!news.mel.connect.com.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.cs.rmit.edu.au!not-for-mail
  2. From: robin_v@bigpond.com (Robin Vowels)
  3. Newsgroups: comp.lang.pl1,comp.answers,news.answers
  4. Subject: PL/I Frequently Asked Questions (FAQ)
  5. Followup-To: comp.lang.pl1
  6. Date: 25 Aug 1998 14:56:28 GMT
  7. Organization: Department of Computer Science, RMIT
  8. Lines: 388
  9. Approved: news-answers-request@MIT.EDU
  10. Expires: 15 October 1998 00:00:00 GMT
  11. Message-ID: <6rujas$seq$1@emu.cs.rmit.edu.au>
  12. Reply-To: robin_v@bigpond.com
  13. NNTP-Posting-Host: yallara.cs.rmit.edu.au
  14. X-Trace: emu.cs.rmit.edu.au 904056988 29146 131.170.24.42 (25 Aug 1998 14:56:28 GMT)
  15. X-Complaints-To: abuse@cs.rmit.edu.au
  16. NNTP-Posting-Date: 25 Aug 1998 14:56:28 GMT
  17. Summary: This posting contains a list of Frequently Asked
  18.     Questions (and their answers) about PL/I --
  19.     Programming Language/I.  It should be read by anyone
  20.     wanting to read the newsgroup comp.lang.pl1.
  21.     It is of interest to anyone wanting to read any
  22.     of the comp.lang.* newsgroups.
  23. X-Posting-User: rav
  24. X-Newsreader: NN version 6.5.1 (NOV)
  25. Xref: senator-bedfellow.mit.edu comp.lang.pl1:3920 comp.answers:32747 news.answers:138325
  26.  
  27. Archive-name: computer-lang/pli-faq
  28. Posting-Frequency: three-monthly (Jan Apr Jul Oct)
  29. Last-Modified: 3 May 1998
  30. Version: 1.8
  31.  
  32.         FREQUENTLY-ASKED QUESTIONS & ANSWERS
  33.         ====================================
  34.  
  35. (Q1) What is PL/I?
  36.  
  37.      PL/I is a general-purpose programming language, which
  38.      is used for solving problems in a variety of fields
  39.      such as commerce, science (including mathematics,
  40.      physics, chemistry), engineering (incl. civil, electrical,
  41.      aeronautics), medicine and so on.  It can be used for
  42.      system programming, and the facilitites are such that
  43.      it is rarely if ever necessary to resort to machine-language
  44.      or assembly-language programming to solve problems.
  45.  
  46.      It has more power than Pascal, Fortran 90, BASIC, C, and
  47.      COBOL, and has comparable facilities to Ada.
  48.      The main areas where PL/I is superior include interrupt
  49.      handling, the built-in debugging aids, the macro
  50.      processor facilities, string-handling and input-output
  51.      (see below).
  52.  
  53.      The language has good documenting and self-documenting
  54.      facilities;  programs are easy to read and to understand.
  55.      It bears some resemblance to Fortran and BASIC.
  56.  
  57.      The language is suitable for beginners, as well as for
  58.      anyone wanting to become a professional.
  59.  
  60.      An excellent summary of PL/I can be found at:
  61.  
  62.          http://www.torolab.ibm.com/ap/pli/pliwhat.html
  63.  
  64.      [a plain text version is attached at the end of this FAQ.]
  65.  
  66.      Sample codes can be found at the following URLs:
  67.  
  68.     http://www.cs.rmit.edu.au/~rav/SEARCH.html
  69.     http://www.cs.rmit.edu.au/~rav/SEARCHR.html
  70.     and
  71.     http://www.cs.rmit.edu.au/~rav/VERIFY.html
  72.  
  73.     (these are in plain text form).
  74.  
  75.      Sample codes of a tutorial nature are found at:
  76.  
  77.     http://www.cs.rmit.edu.au/~rav/INSERT_SORT.html
  78.         http://www.cs.rmit.edu.au/~rav/LISTS.html    
  79.  
  80.     (Click on the keywords for an explanation.)
  81.  
  82. (Q2) On what systems is it available?
  83.  
  84.      PL/I is available on at least the following systems:
  85.  
  86.      *    IBM PC and compatibles (80x86).
  87.  
  88.         *  IBM PL/I for OS/2:
  89.         Professional Edition
  90.  
  91.         There is also the PL/I Toolkit, which is accompanied
  92.         by the live editor LPEX..
  93.         ---available from IBM
  94.  
  95.         *  Liant Open PL/I, for 80x86 & Pentium running UNIX SVR3 and SVR4
  96.         ---available from Liant Software Corporation
  97.            959 Concord Street
  98.            Framingham, MA 01701-4613
  99.            Tel. (508) 872-8700  Fax (508) 626-2221
  100.         (their PL/I generally is available on Unix-based systems)
  101.  
  102.     * Windows NT -- available from Liant
  103.  
  104.     * Windows 95/NT -- available from IBM
  105.  
  106.      * IBM AS/400
  107.             --- available from IBM
  108.  
  109.      *    IBM mainframes
  110.         --- available from IBM
  111.  
  112.      *    HP 9000 HP-UX
  113.         ---available from Liant Software Corporation (address sbove)
  114.  
  115.      *    SPARC SunOS 4.x, Solaris 2.x
  116.         ---available from Liant
  117.  
  118.      *    IBM RS/6000 AIX
  119.         ---available from Liant Software Corporation;
  120.         ---also available from IBM as PL/I Set for AIX.
  121.  
  122.      *  Data General AViiON with DG-UX
  123.         ---available from Liant.
  124.  
  125.      *  Digital Equipment Corp. on Open VMS and Alpha AXP systems
  126.         ---available from Digital Equipment Corporation.
  127.         UniPrise, Inc. now provides compilers for these systems.
  128.            (PL/I for Digital Unix)
  129.  
  130.      *  Stratus Computer, Inc.
  131.         ---available under VOS on all Stratus computers except AX/R-S.
  132.  
  133. (Q3) How can I try out PL/I?
  134.  
  135.         There is a demo copy on
  136.  
  137.         ftp://ftp.software.ibm.com/ps/products/pli/demos/
  138.  
  139.     There's also the original Digital Research PL/I for DOS.
  140.     It's a subset of PL/I, of course, because it had to fit
  141.     in 64K originally (I think).
  142.  
  143.     You'll find it at http://cdl.uta.edu/cpm/cpm.html.
  144.  
  145.     Find the PCDOS section, and then checkout DOWNLOADS.
  146.  
  147.     Be sure to download the utilities (including the linker)
  148.     as well as the compiler and sample codes.
  149.  
  150. (Q4) What do the compilers provide?
  151.  
  152.     All compilers provide enhanced versions of the ANSI standard (the IBM
  153.     AS/400 PL/I compiler adheres to SAA rules).  There's a
  154.     summary of what you'll find in PL/I at
  155.     http://www.torolab.ibm.com/ap/pli/pliwhat.html
  156.  
  157.         In the case of IBM PL/I for OS/2, PL/I Set for AIX,
  158.         Windws 95 and Windows NT, a number of new language features
  159.         is provided and include:
  160.  
  161.     (a) list processing in which the pointers (handles) are
  162.         bound to the structures with which they are linked;
  163.     (b) ordinals;
  164.     (c) user-defined types;
  165.     (d) Unsigned integer type;
  166.     (e) New DO loop options that cause the loop to
  167.         terminate without overrunning the limit (specifically
  168.         for ordinals and unsigned integers);
  169.     (f) A much-enhanced macro-processor.
  170.     (this is not an exhaustive list)
  171.  
  172.     There are also 97 new built-in functions, including
  173.     extra-special DATE/TIME functions, string-handling
  174.     functions, housekeeping functions (e.g.,
  175.     where-am-I-called-from?), and ordinal functions
  176.     (including a function to supply the name of an ordinal!).
  177.     General details are appended to this posting.
  178.  
  179. (Q5) What textbooks are available?
  180.  
  181.     Some of the best include:
  182.        R.A. Barnes,     "PL/I for Programmers", North-Holland, 1979.
  183.        J.K. Hughes,     "PL/I Structured Programming", 3rd Ed., Wiley, 1986.
  184.        G.F. Groner,     "PL/I Programming in Technological Applications",
  185.                  Books on Demand, Ann Arbor, MI, 1971.
  186.        M.E. Anderson,   "PL/I for Programmers", Prentice-Hall, 1973.
  187.        D.R. Stoutemyer, "PL/I Programming for Engineering & Science",
  188.                  Prentice-Hall, 1971.
  189.        R. Reddy & C. Ziegler, "PL/I: Structured Programming and
  190.                  Problem Solving", West, 1986, ISBN 0-314-93915-6.
  191.  
  192.     New books:
  193.           E. Sturm, PL/I fuer Workstations (in German language),
  194.                  Vieweg-Verlag (1997). 278 pages,
  195.                  ISBN: 3-528-24792-4
  196.                 http://www.uni-muenster.de/URZ/Mitarbeiter/EberhardSturm/pl1buch.html
  197.        R. Vowels,        "Introduction to PL/I, Algorithms, and
  198.                  Structured Programming", 3rd Ed., Sept. 1997,
  199.                  ISBN 0-9596384-9-0  725 pages, A4 size
  200.                  [details at
  201.                  http://www.cs.rmit.edu.au/~rav/CONTENTS.html]
  202.                              Comes with a disc containing all the programs,
  203.                              procedures, and functions from the book.  The
  204.                              disc was first published in October 1996.
  205.  
  206.     The following are good PL/I reference manuals. (They also
  207.     highlight the additions that the OS/2 version provides
  208.     compared with the mainframe version; thus you can use
  209.     it as a reference on either system.)
  210.  
  211.        IBM, "PL/I for OS/2: Language Reference", 1994 edition
  212.        IBM, "PL/I for OS/2: Built-in Functions", 1994 edition
  213.  
  214. (Q6) Is there a newsletter?
  215.  
  216.     "The PL/I Connection" is published by Team PL/I.
  217.     To request a free subscription, send email to:
  218.     teampli@vnet.ibm.com
  219.  
  220.     Recent copies are accessible at:
  221.     http://www.torolab.ibm.com/ap/pli/plinews.html
  222.  
  223. (Q7) Is there a home page?
  224.  
  225.     There are at least eight of interest:
  226.        http://www.software.ibm.com/ad/pli/
  227.         (the PL/I Home page)
  228.        http://www.software.ibm.com/ad/pli/pliwhat.html
  229.         (this gives you an overview of PL/I)
  230.        http://www.liant.com
  231.         (then click on the LPI button)
  232.        http://www.dec.com/home.html
  233.         (then select OpenVMS ..., or you may find the direct
  234.          link quicker ->
  235.        http://www.uniprise.com/
  236.        ftp://ftp.digital.com/pub/Digital/info/SPD/25-30-21.txt (might not work)
  237.        ftp://ftp.digital.com/pub/Digital/info/SPD/25-30-XX.txt
  238.        http://www.yahoo.com/Computers_and_Internet/Languages/
  239.         Or if you prefer, you can start on http://www.yahoo.com/ and take
  240.         it from there.  When the Languages display comes up, 
  241.         look for PL/I.  Click on that, and then you can
  242.         go to different sites.
  243.  
  244.            http://www.utu.fi/~sisasa/oasis/oasis-pli.spml
  245.                 The PL/I Oasis lists several interesting PL/I sites.
  246.  
  247.        http://www.cs.rmit.edu.au/~rav/PLI.html
  248.  
  249.        http://www.cs.rmit.edu.au/~rav/FAQ.html
  250.         Is the HTML version of the FAQ for PL/I.
  251.  
  252.        http://www.cs.rmit.edu.au/~rav/PLI_RESOURCES.html
  253.         This is the PL/I resource page.  It links to
  254.         PL/I codes, books, reading materials including
  255.         direct links to all issues of the PL/I Newsletter.
  256.         It is currently under construction.
  257.  
  258.        http://www.gre.ac.uk/~hs574
  259.         The DarkStar Site contains resources for PL/I
  260.         including Books 'n' Links.
  261.         Visit the DarkStar Site, there's a lot more in store.
  262.  
  263.            http://www.worldweb.net/~jcanterb/pli/
  264.         is a new Unofficial PL/I Resource and Resume Page
  265.         created by Jerry Canterbury,  The purpose of this
  266.         page is twofold.
  267.  
  268.         First, it attempts to gather links to *all* PL/I
  269.         Internet resources in one location.
  270.  
  271.         Second, it will allow those who have a need for
  272.         PL/I skills to connect with those who have PL/I
  273.         skills.  If you have PL/I on your resume, Jerry
  274.         will add a link to your resume if you want.
  275.  
  276.     Contributions of codes etc are welcome.
  277.         Send (in plaintext ASCII) to:
  278.         robin_vowels@rmit.edu.au
  279.  
  280.      Other possible sites are as follows:
  281.  
  282.     Japan: http://www.ibm.co.jp/pc/prod/sa/0272.html
  283.  
  284.     If you know of any other home pages, please advise the author.
  285.  
  286. (Q8) Where can I find discussion groups?
  287.  
  288.      *  A PL/I newsgroup was established in January 1996
  289.         following the passing on 3 January 1996 of voting for
  290.         the newsgroup "comp.lang.pl1" (350 votes for, 18
  291.         votes against).
  292.  
  293.      *    Join PL1-L@listserv.dartmouth.edu on the internet.
  294.        To subscribe, send a note to listserv@listserv.dartmouth.edu
  295.  
  296.        In the body of the note, enter:
  297.  
  298.        SUB PL1-L yourname
  299.  
  300.        To post a comment, send it to pl1-l@listserv.dartmouth.edu
  301.  
  302.      *    On Compuserve, enter: go os2df1
  303.        Then go to subsection 6: "Rexx and other languages".
  304.  
  305.      *  Russian: Discussion of PL/I in Russian takes place on
  306.         relcom.comp.os.os2.prog
  307.  
  308.      *  German: Seems to take place at:    de.comp.sys.amiga.misc
  309.  
  310.      *  Or consider attending a SHARE or GUIDE PL/I presentation
  311.     as either a spectator or presenter.  Postings appear from
  312.     time to time in comp.lang.pl1
  313.  
  314. (Q9) How did PL/I originate?
  315.  
  316.      PL/I came into being as a result of an attempt to produce
  317.      a revision of FORTRAN.  Such were the changes necessary that
  318.      it was not possible to introduce the new features needed
  319.      to bring FORTRAN up-to-date, and to be compatible with
  320.      existing programs, that it was decided to introduce a
  321.      new language that included the best features of the
  322.      then main languages FORTRAN, COBOL, and Algol.
  323.  
  324.      Originally, the new language was called "New Programming
  325.      Language", or NPL.  However, as these initials were
  326.      already taken by the National Physical Laboratory in
  327.      Britain, the name became PL/I (for Programming Language One).
  328.  
  329.      The new language contained features not then seen before in
  330.      a general-purpose programming language -- including interrupt
  331.      handling, array operations, list processing, and a macro
  332.      pre-processor.
  333.  
  334.      There is some controvesy over the name -- whether it is PL/I
  335.      or PL/1.  The first manuals (for the first compiler, the
  336.      IBM PL/I (F) compiler) called it PL/I, not PL/1. The ANSI
  337.      standard calls it PL/I.  The title of the first reference
  338.      manual is:
  339.      IBM, "PL/I Language Reference", 1965.
  340.  
  341.      The title of the manual for the first compiler is:
  342.      "IBM System 360 PL/I (F) Language Reference Manual", 1966.
  343.  
  344.      Since then, almost all manufacturers and textbooks
  345.      called it PL/I.
  346.  
  347. (Q10) What tools are available?
  348.  
  349.      Some are: [This question is under construction]
  350.  
  351.      PL/I Analyzer is a reverse engineeering and re-engineering tool,
  352.      available from Leverage Technologies, 6701 Democracy Blvd,
  353.      Suite 703, Bethesda MD 20817, U.S.A.       Tel (301) 309-8783
  354.      email: info@levtech.com
  355.      http://stout.levtech.com/
  356.  
  357.      Version 2.0 is the latest, with Year 2000 diagnostic support.
  358.     Leverage has also released PLI-2000, a tool for locating
  359.     Year 2000 problems.
  360.  
  361.     LevTech provide tools and services for Software Maintenance, legacy
  362.     Software reengineering and the Year 2000 (Y2K, Millennium) Problem
  363.     including PL/I and Natural/Adabas.
  364.  
  365.  
  366.      MicroFocus offers tools to accompany PL/I for OS/2.  For more infomation,
  367.      contact them at Suite 400, 2465 East Bayshore Road, Palo Alto, CA 94303, U.S.A.
  368.      http://www.mfltd.co.uk/
  369.  
  370.      PLIFORM is a PL/I source code formatter, available from
  371.      Magicon, Inc.  You'll find them at: 
  372.      909 University Ave, Suite 22, Los Gatos, CA 95030-2345, U.S.A.
  373.  
  374.      Another PL/I formatter is available (details available soon).
  375.      You can download a trial version at:
  376.  
  377.                          ftp www.neosoft.com
  378.                          userid: anonymous
  379.                          <password is your e-mail address>
  380.                          cd /pub/users/d/djones/format
  381.                          binary
  382.                          get format.exe
  383.                          quit
  384.  
  385.      Further details from the author at: peter-ostermann@t-online.de
  386.  
  387. Latest copy is at:
  388.  
  389.     ftp://ftp.mindspring.com/users/enojon
  390.  
  391. The name of the file is FORMPLI3.ZIP
  392.  
  393. (Q11) Where can I read about PL/I?
  394.  
  395.      Peter Elderon's white paper on Object Oriented Programming
  396.      for PL/I can be viewed at :
  397.  
  398.      http://www.cs.rmit.edu.au/~rav/PLI_OO.html
  399.  
  400.      A white paper on object-oriented PL/I programming can be
  401.      found at:
  402.  
  403.      http://www.ionet.net/~mclapper/
  404.  
  405.      An interesting article on PL/I appeared in the Enterprise
  406.      Systems Journal in December 1995.  You can view it at:
  407.  
  408.      http://www.cs.rmit.edu.au/~rav/ENTERPRISE.html
  409.  
  410.      A paper about PL/I and C is available at:
  411.  
  412.      http://www.uni-muenster.de/URZ/Mitarbeiter/EberhardSturm/PL1andC.html
  413.  
  414. http://www.software.ibm.com/ad/pli/pliwhat.html
  415.